import functionnodes.FunctionNode;
import data.Value;

/**
 * @author loaner
 */
class functionnodes.FunctionNodePrint extends FunctionNode {
	
	function FunctionNodePrint() {
		super();
		funcname = "print";
	}
	
	
	public function reduceValues( scope:Object, args:Array):Value
	{
		trace("PRINT:" + args.join("\n") );
		return new Value( Value.STRING, args.join("\n") );
	}
}